<h2>Owners</h2>

<table id="owners" class="table table-striped">
    <thead>
    <tr>
        <th style="width: 150px;">Name</th>
        <th style="width: 200px;">Address</th>
        <th>City</th>
        <th style="width: 120px">Telephone</th>
        <th>Pets</th>
    </tr>
    </thead>
    <tbody>
        {#for owner in owners} 
            <tr>
                <td>
                    <a href="/owners?id={owner.id}">{owner.firstName} {owner.lastName}</a>
                </td>
                <td>{owner.address}</td>
                <td>{owner.city}</td>
                <td>{owner.telephone}</td>
                <td>{#for pet in owner.pets}{pet.name} {/for}</td>
            </tr>
        {/for}
    </tbody>
</table>
